package com.lihao.sunnyweather

import android.app.Application
import android.content.Context

class SunnyWeatherApplication : Application() {

    companion object {
        // const 必须修饰val
        // const 只允许在top-level级别和object中声明
        // 类似于java的public final static
        const val TOKEN = "fBMsvjbBkzUZYeQq"
        lateinit var context: Context
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }

}